package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName(value = "t_circle")
public class TCircle {

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("圈子类型id")
    @TableField(value = "circle_type_id")
    private Long circleTypeId;

    @ApiModelProperty("圈子名称id")
    @TableField(value = "circle_name_id")
    private Long circleNameId;

    @ApiModelProperty(value = "状态 1正常 2禁用")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty("图片")
    @TableField(value = "img_url")
    private String imgUrl;

    @ApiModelProperty("评论数")
    @TableField(value = "count")
    private Integer count;

    @ApiModelProperty(value = "内容")
    @TableField(value = "content")
    private String content;

    @ApiModelProperty(value = "创建人id")
    @TableField(value = "create_user_id")
    private Long createUserId;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time")
    private LocalDateTime createTime;


}